package lm.concurrency.day5.atomicReference.atomicReferenceFieldUpdater;

class Student {
    //使用原子更新器时,不添加volatile 会报异常
    volatile String name;

    @Override
    public String toString() {
        return "Student{" + "name=" + name + "}";
    }
}
